import moment from "moment";

export default (self) =>  [

  {
    title: '选择时间',
    name: 'time',
    searchItem: {
      rules: [
        {
          required: true,
          message: '请选择时间'
        }
      ],

      type: 'date~',
      width: 300,
      placeholder: ['这是开始时间', '这是结束时间'],
      format: 'YYYY-MM-DD'
    }
  },
];
